package com.example.xuan.netvolley;

import android.app.Application;

import com.android.volley.RequestQueue;
import com.android.volley.toolbox.Volley;

/**
 * Created by xuan on 16/7/2.
 */
public class MyApplication extends Application {

    public static RequestQueue request;

    @Override
    public void onCreate() {
        super.onCreate();

        request = Volley.newRequestQueue(getApplicationContext());
    }

    public static RequestQueue getHttpQueues(){
        return request;
    }
}
